﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewsList.ascx.cs" Inherits="BaoJian.Control.NewsList" %>
<div class="con_middle">
    <div class="location">
        <div style="color: #000000">
            当前位置:<%=CurrentPos%></div>
          
    </div>
    <div id="ListColDiv" runat="server" visible="true">
       <asp:Literal ID="ListContent" runat="server"></asp:Literal>
    </div>
    <div id="DetailDiv" runat="server" visible="false">
    <div class="newslist">
        <div class="left" style="width: 515px; height: 600px; background-color: #FFFFFF">
            <div style="vertical-align: bottom; margin-bottom: 20px;" class="listdiv1">
                <ul>
                    <asp:Repeater ID="Repeater1" runat="server">
                        <ItemTemplate>
                            <li><a href="/C.aspx?id=<%#DataBinder.Eval(Container.DataItem, "OID")%>" target="_blank">
                                <%# DataBinder.Eval(Container.DataItem, "Title") %></a></li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
            <div style="background-color: #FFFFFF">
            </div>
        </div>
    </div>
    <div style="float: left; padding-left: 30px; padding-right: 25px; border: #99BB67 1px solid;
        text-align: center; line-height: 25px; margin-top: 35px; margin-left: 25px; margin-right: 10px;">
        <asp:Panel ID="changePage" runat="server">
            <asp:LinkButton ID="first_btn" runat="server" OnClick="first_btn_Click">首页</asp:LinkButton>&nbsp;
            <asp:LinkButton ID="up_btn" runat="server" OnClick="up_btn_Click">上一页</asp:LinkButton>&nbsp;
            <asp:LinkButton ID="next_btn" runat="server" Text="下一页" OnClick="next_btn_Click"></asp:LinkButton>&nbsp;
            <asp:LinkButton ID="end_btn" runat="server" OnClick="end_btn_Click">末页</asp:LinkButton>&nbsp;
            &nbsp;当前第<asp:Label ID="lblCurrentPage" runat="server"></asp:Label>页&nbsp;&nbsp;转到&nbsp;<asp:DropDownList
                runat="server" ID="ddlGo" AutoPostBack="true" OnSelectedIndexChanged="ddlGo_SelectedIndexChanged">
            </asp:DropDownList>
            &nbsp;页</asp:Panel>
    </div>
    </div>
</div>
